package org.example.mallcommon.projo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

/**
 * @author 韩先楚
 * 订单表
 */
@Data
@TableName("orders")
public class Orders {
    @TableId(type = IdType.AUTO)
    private Integer id;
    private String orderNo;
    private Integer userId;
    private Integer sellerId;
    private BigDecimal totalAmount;
    private Integer status;
    private Date createTime;
    private Date payTime;
    private Date finishTime;
}
